package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;


@Getter
@Setter
@ToString
@Document("userInfo")
public class UserInfo extends BaseDomain{

    public static final int GENDER_SECRET = 0; //保密
    public static final int GENDER_MALE = 1;  //男
    public static final int GENDER_FEMALE = 2; //女
    public static final int STATE_NORMAL = 0; //正常
    public static final int STATE_DISABLE = 1; //冻结

    private String nickname;
    private String phone;
    private String email;
    private String password;
    private Integer gender;
    private Integer level=0;
    private String city;
    private String headImgUrl;
    private String info;
    private Integer state=STATE_NORMAL;
}
